<template>
  <div class="list">
    <div class="sidebar">
      <card />
    </div>
    <div class="main">
      <router-view />
    </div>
  </div>
</template>

<script>
import card from '@/components/card/card'

export default {
  name: 'List',
  components: {
    card
  }
}
</script>

<style lang="stylus" scoped>

  .list
    display: flex
    border-radius 50px
    margin: 20px auto
    width: 860px
    height: 600px
    background-color:#fff
  .sidebar
    width: 60px
    height: 600px
    background: #2b2c2f

  .main
    flex: 1
    height: 600px
    background: #f2f2f2
</style>
